Tri-mesh ASCII file format
OBJECT TRI-MESH Name
[CRS Authority Code Name HorizontalUnit]
[CSYSTEM Easting Northing TVDSS Inclination Azimuth]
[UNITS EastingUnit NorthingUnit VerticalUnit InclinationUnit AzimuthUnit]
[COLOR Red Green Blue [Alpha]]
[UNKNOWN UnknownValue]
[TYPE Type]
[NODES]
NodeId Easting Northing TVDSS
....
[TRIANGLES]
Id1 Id2 Id3
....
Keywords (the order of these keywords does not matter, except from the OBJECT keyword – this keyword should always be the first one; also multiple NODES + TRIANGLES keyword may be defined)
| Keyword | Description | Optional | Comment |
|---|---|---|---|
|
Tri-Mesh |
Specifies the object type |
No |
One value is expected: 1. Name of the tri-mesh |
|
Type |
Specifies the type of tri-mesh |
Yes |
One value is expected: 1. Type (Default = HORIZON) When this keyword is not included in the file, the default type is applied |
|
Nodes |
Specifies the start of the nodes section |
Yes |
No additional values are expected: If this keyword is not found in the file, lines with 4 values will be interpreted as node lines (id, easting, northing and depth) |
|
Triangles |
Specifies the start of the triangle section |
Yes |
No additional values are expected: If this keyword is not found in the file, lines with 3 values will be interpreted as triangle lines (id1, id2, id3) |
Variables
| Variable | Description | Type | Min | Max | Optional | Comment |
|---|---|---|---|---|---|---|
|
Type |
Type of Tri-mesh |
Int |
0 |
4 |
Yes |
0 = UNDEFINED 1 = FAULT 2 = HORIZON 3 = UNCONFORMITY 4 = INTRUSION 5 = FLUID CONTACT 6 = PROPERTY 7 = FRACTURE 8 = BED BOUNDARY 9 = MICROSEISMIC 10 = MAP 11 = BOUNDARY 12 = FAULT POLYGON 13 = FAULT CENTERLINE 14 = LINE |
|
NodeId |
Unique node id |
Int |
0 |
- |
no |
|
|
Northing |
Northing Tri-mesh node location |
Double |
- |
- |
No |
|
|
Easting |
Easting Tri-mesh node location |
Double |
- |
- |
No |
|
|
TVDSS |
TVDSS Tri-mesh node location |
Double |
- |
- |
No |
|
|
Id1, Id2, Id3 |
Three node references that make up 1 triangle. |
Int’s |
0 |
- |
No |
Corresponding NodeId should exist |
Example 1
OBJECT Tri-mesh Tri-mesh1
CRS EPSG 26391 "Minna / Nigeria West Belt" m
CSYSTEM 569000 168000 1600.0 0.0 0.0
UNITS m m m deg deg
COLOR 0 0 143 143
TYPE 2
NODES
0 250 250 200
1 250 2750 200
2 2000 250 100
3 2000 2750 100
4 3750 250 150
5 3750 2750 150
TRIANGLES
1 0 2
1 2 3
3 2 4
3 4 5
Example 2 (minimum / all optional fields left out)
OBJECT TRI-MESH Tri-mesh2
0 250 250 200
1 250 2750 200
2 2000 250 100
0 1 2